"use strict";


const Joi = require('joi');
const CheckUtil = require("../utils/check");
const BasicsCtl = require("../basics/clz/basectl");
const HomeImpl = require("../service/home");
const UserApi = require("../taobao/user");

class HomeCtl extends BasicsCtl {

  constructor(context) {
    super(context);
    this.homeImpl = new HomeImpl(this.cloud);
  }

  /**
   * 查询sellerid
   */
  async findSellerId() {
    let { teamAppId } = this.params;
    console.log("teamAppId", teamAppId);
    return await this.homeImpl.findSellerId(teamAppId);
  }

}
module.exports = HomeCtl;